package com.thl.levelcache.decoration;

import org.aspectj.lang.ProceedingJoinPoint;


public interface ComponentCache {


    /***
     * 根据key查询缓存数据
     * @param key
     * @param returnClass
     * @param joinPoint
     * @param <T>
     * @return
     */
    <T> T getCache(String key, Class<T> returnClass, ProceedingJoinPoint joinPoint);


}
